original=$1
new=$2
embchar=$3
#check original content
cd /mnt/workspace/gyh/utilgyh; python3 dataTraverser.py \
-z /mnt/workspace/gyh/RoboTwin/policy/DP3/data/$original.zarr \
-p ldps-ldp-k-saveps-savep -f 0 -e 0
#check process zarrs
cd /mnt/workspace/gyh/utilgyh; python3 dataTraverser.py \
-z /mnt/workspace/gyh/RoboTwin/policy/DP3/data/$original.zarr \
-p seg${embchar}1-paint${embchar}-r1024-lnps-saveps -f 0 -e 0
#check save
cd /mnt/workspace/gyh/utilgyh; python3 dataTraverser.py \
-z /mnt/workspace/gyh/RoboTwin/policy/DP3/data/$original.zarr \
-o /mnt/workspace/gyh/RoboTwin/policy/DP3/data/$new.zarr \
-p seg${embchar}1-paint${embchar}-r1024-lnps-saveps -f 0 -e 0
#examine save
cd /mnt/workspace/gyh/utilgyh; python3 dataTraverser.py \
-z /mnt/workspace/gyh/RoboTwin/policy/DP3/data/$new.zarr \
-p ldps-ldp-k-saveps-savep -f 0 -e 0
# real save
cd /mnt/workspace/gyh/utilgyh; python3 dataTraverser.py \
-z /mnt/workspace/gyh/RoboTwin/policy/DP3/data/$original.zarr \
-o /mnt/workspace/gyh/RoboTwin/policy/DP3/data/$new.zarr \
-p seg${embchar}1-paint${embchar}-r1024-lnps